#!/usr/bin/env python

import wx

class Progress(object):
    '''Progress class
    
    @author Julot <andy.julot@gmail.com>
    @since Thursday, March 01, 2012. 11:10 AM'''
    
    def __init__(self, view, presenter):
        self.view = view
        self.presenter = presenter
        self.bind()
        
    def bind(self):
        view = self.view
        
        view.Bind(wx.EVT_MENU, self.send, view.message.toolBar.send.tool)
    
    def send(self, event):
        self.presenter.progress.checkOutbox()
